<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
	<head>
		<title>Snake !</title>
		
		<script type="text/javascript" src="js/prototype.js"></script>
		<script type="text/javascript" src="js/Comet.class.js"></script>
		<script type="text/javascript" src="js/GameBoard.class.js"></script>
		<script type="text/javascript" src="js/GameController.class.js"></script>
		<script type="text/javascript" src="js/Player.class.js"></script>
		<script type="text/javascript" src="js/Snake.class.js"></script>
		<script type="text/javascript" src="js/SnakeGame.class.js"></script>

		
		
		<link type="text/css" href="css/retro.css" rel="stylesheet" />
		
	</head>
	
	<body>
		<form id="nickform" action="#" onsubmit="new SnakeGame($('gameboard'), $('playerlist'), 80, 40, $('nickname').value); $('nickform').hide(); $('snakegame').show(); return false;">
			<label>Pseudo : <input type="text" id="nickname" value="player"/></label>
			<input type="submit" value="go !" />
		</form>
		
		<div id="snakegame" style="display:none;">
			<div id="gameboard"></div>
			<div id="scoreboard">
				<h2>Joueurs</h2>
				<div id="playerlist"></div>
			</div>
		</div>
	</body>
</html>
